<ul id="users_menu">
<?
    foreach ($this->users_collection as $model_user)
    {
        ?>
        <li id = "user_<?=$model_user->getID();?>">
            <a href = "" <?if ($model_user->getID() == $this->id) {?>class = "active"<?}?> onClick = "ajaxUsers({id: <?=$model_user->getID(); ?>, action: 'view', use_inner: true, no_apply: true}); return false;">
                <?=$model_user->getLogin(); ?>
            </a>
        </li>
        <?
    };
    ?>
    <li class="add_item">
        <a href="" <? if ($this->id == -1) echo "class=\"active\""; ?>  onClick="addItem({menu: 'user', container: 'inner'}); return false;">Add new user</a>
    </li>
</ul>